package face.pay.dao;

import face.pay.entity.CpnMchWorkTime;
import face.pay.vo.VoCpnCardUseTime;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CpnMchWorkTimeDao {



    void update(CpnMchWorkTime cpnMchWorkTime);

    List<CpnMchWorkTime> queryCpnMchWorkTime(CpnMchWorkTime cpnMchWorkTime);


    List<VoCpnCardUseTime> queryVoCpnCardUseTime(@Param("mchList") List<Integer> mchList);


    //创建默认的商家工作时间
    void insertDefaultWorkTime(@Param("workList")List<CpnMchWorkTime> workList);
}
